TEMPLATE	=   lib
CONFIG		+=  debug c++11
CONFIG		+=  qt
TARGET		=   PluginFluent
QT          +=  core widgets
DEFINES     +=  PLUGINFLUENT_API

include(./PluginFluent.pri)
include(./../vtk.pri)

win32{

  INCLUDEPATH	+=  ./ \
                    ../ \
                                        ../SelfDefObject \

  Release:DESTDIR         = ../../output/bin/plugins
  Release:MOC_DIR         = ./release/moc
  Release:RCC_DIR         = ./release/rcc
  Release:UI_DIR          = ./release/qui
  Release:OBJECTS_DIR     = ./release/obj
  Release:LIBS +=  \
        -L../../output/bin -lMainWindow \
        -L../../output/bin -lModelData \
        -L../../output/bin -lDataProperty \
        -L../../output/bin -lPluginManager \
        -L../../output/bin -lMainWidgets \
        -L../../output/bin -lMeshData \
        -L../../output/bin -lIO \
        -L../../output/bin -lBCBase \

  Debug:CONFIG	    	+=  console
  Debug:DESTDIR         = ../../output/bin_d/plugins
  Debug:MOC_DIR         = ./debug/moc
  Debug:RCC_DIR         = ./debug/rcc
  Debug:UI_DIR          = ./debug/qui
  Debug:OBJECTS_DIR     = ./debug/obj
  Debug:LIBS +=  \
        -L../../output/bin_d -lMainWindow \
        -L../../output/bin_d -lModelData \
        -L../../output/bin_d -lDataProperty \
        -L../../output/bin_d -lPluginManager \
        -L../../output/bin_d -lMainWidgets \
        -L../../output/bin_d -lMeshData \
        -L../../output/bin_d -lIO \
        -L../../output/bin_d -lBCBase \

  message("Windows PluginFluent build")

}


unix{

    INCLUDEPATH	+=   ./ \
                      ../ \
                     ../SelfDefObject \

  CONFIG          += plugin
  DESTDIR         = ../../output/bin/plugins
  MOC_DIR         = ./release/moc
  UI_DIR          = ./release/qui
  RCC_DIR         = ./release/rcc
  OBJECTS_DIR     = ./release/obj
  LIBS += \
        -L../../output/bin -lMainWindow \
        -L../../output/bin -lModelData \
        -L../../output/bin -lDataProperty \
        -L../../output/bin -lPluginManager \
        -L../../output/bin -lMainWidgets \
        -L../../output/bin -lMeshData \
        -L../../output/bin -lIO \
        -L../../output/bin -lBCBase \

  message("Linux PluginFluent build")

}
